
package org.darcy.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description="WorkRole: 业务流程角色")
@TableName(value = "work_role")
@Getter
@Setter
public class WorkRole implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@Schema(description="")
	@TableId(type = IdType.AUTO)
	private Integer id;
	
	@Schema(description="公司id")
	@TableField(value = "`company_id`")
	private String companyId;
	
	@Schema(description="名称")
	@TableField(value = "`name`")
	private String name;
	
	@Schema(description="标识")
	@TableField(value = "`sn`")
	private String sn;
	
	@Schema(description="备注")
	@TableField(value = "`note`")
	private String note;
	
	@Schema(description = "创建时间")
	@TableField(value = "`create_time`")
	private Date createTime;

	@Schema(description = "更新时间")
	@TableField(value = "`update_time`")
	private Date updateTime;
	
	@Schema(description="删除标识0：删除 1：存在")
	@TableField(value = "`del_flag`")
	private Integer delFlag;

}
